cmake_minimum_required(VERSION 3.13)

set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

project(boost-examples)

find_package(Boost 1.79 COMPONENTS date_time system program_options coroutine REQUIRED)

# Include Boost headers
message("Project src: ${PROJECT_SOURCE_DIR}")
message("Boost include: ${Boost_INCLUDE_DIRS}")
message("Boost libs:${Boost_LIBRARIES}")

include_directories(${Boost_INCLUDE_DIRS})
include_directories(${PROJECT_SOURCE_DIR})
link_libraries(${Boost_LIBRARIES})

add_subdirectory(opts)
add_subdirectory(crc)
